// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------

import Layout from '@/layout'

const personRouter = {
  path: '/person',
  component: Layout,
  redirect: '/person/index',
  name: 'Person',
  meta: {
    title: '人员信息管理',
    icon: 'clipboard',
  },
  children: [
    {
      path: 'index',
      name: 'personIndex',
      component: () => import('@/views/person/index'),
      meta: {
        title: '人员列表',
        icon: 'clipboard',
      }
    },
    {
      path: 'train',
      name: 'personTrain',
      component: () => import('@/views/person/train/index'),
      meta: {
        title: '军事训练综合评定',
        icon: 'clipboard',
      }
    },
    {
      path: 'material',
      name: 'personMaterial',
      component: () => import('@/views/person/material/index'),
      meta: {
        title: '训练教材',
        icon: 'clipboard',
      }
    },
    {
      path: 'personMaterial',
      name: 'personMaterial',
      component: () => import('@/views/person/personMaterial/index'),
      meta: {
        title: '政治工作文件',
        icon: 'clipboard',
      }
    },
    {
      path: 'sport',
      name: 'personSport',
      component: () => import('@/views/person/train/sport'),
      meta: {
        title: '军事体育',
        icon: 'clipboard',
      }
    },
    {
      path: 'sport1',
      name: 'personSport1',
      component: () => import('@/views/person/train/sport1'),
      meta: {
        title: '军事体育',
        icon: 'clipboard',
      }
    },
  ]
}

export default personRouter  //collate
